package com.jming.jike.vo.front;

import com.jming.jike.util.sensitivity.Sensitive;
import com.jming.jike.util.sensitivity.SensitiveStrategy;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author jinming.zhang
 * @version 0.0.1
 * @date 2022/05/31
 */
@Data
public class UserVO {

    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("手机号")
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String phone;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("身份证号")
    @Sensitive(strategy = SensitiveStrategy.ID_CARD)
    private String idNumber;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("头像地址")
    private String avatarUrl;

    @ApiModelProperty("状态 0:禁用，1:正常")
    private Integer status;

}
